package com.emep.changzhi.analyse.entity.basics;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author xy
 * @Description: aqi达标、污染天数
 * @date 2018/3/23 10:55
 * @version V1.0
 */

@Data
@Table(name = "sys_aqi_standard_day_info")
@Entity
public class SysAqiStandardDayInfo implements Serializable {
    private static final long serialVersionUID = 6719158744687100813L;

    @Id
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String id;

    @Column(name = "year",columnDefinition="varchar(100) COMMENT '年份'" )
    private String year;
    @Column(name = "excellent_max",columnDefinition="varchar(100) COMMENT '优良天气数据'" )
    private String excellentMax;
    @Column(name = "pollution_max",columnDefinition="varchar(100) COMMENT '重污染天气数值'" )
    private String pollutionMax;
    @Column(name = "pm25_max",columnDefinition="varchar(100) COMMENT 'pm2.5数值'" )
    private String pm25Max;
    @Column(name = "create_date",columnDefinition="varchar(100) COMMENT '录入时间'" )
    private String createDate = String.valueOf(System.currentTimeMillis());
}
